package io.geekidea.boot.headquarters.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.geekidea.boot.common.BaseEntity;
import io.geekidea.boot.system.entity.SysUser;
import lombok.Data;

import java.io.Serializable;


/**
 * 总部物料库实体类（tb_zb_wl）
 */

@Data
@TableName("tb_zb_wl")
public class Headquarters extends BaseEntity implements Serializable {

 private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("name")
    private String name;

    @TableField("code")
    private String code;

    @TableField("dutyParagraph")
    private String dutyParagraph;

    @TableField("typeId")
    private Integer typeId;

    @TableField("supplierId")
    private Integer supplierId;

    @TableField("status")
    private String status;

    /**
     * 成本价
     */
    @TableField("costprice")
    private double costprice;

   /**
    * 物料类型
    */
   @TableField(exist = false)
    private String typeName;

   /**
    * 供应商
    */
   @TableField(exist = false)
   private String supplierName;

   /**
    * 供应商编码
    */
   @TableField(exist = false)
   private String supplierCode;






}
